.uxt-page {
    padding: 16px;
}

/* 搜索区域样式 */
.uxt-toolbar {
    margin-bottom: 12px;
    padding: 12px 0;
}

.uxt-toolbar .layui-form-inline .layui-form-item {
    margin-bottom: 8px;
}

.uxt-toolbar .layui-form-label {
    width: auto;
    padding: 5px 8px;
    font-size: 12px;
}

.uxt-toolbar .layui-input-inline {
    width: 160px;
}

.uxt-toolbar .layui-input-inline .layui-input {
    height: 30px;
    line-height: 30px;
}

.uxt-actions {
    padding-top: 8px;
}

/* 区域筛选样式 */
.region-filter {
    margin-bottom: 20px;
    padding: 16px;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.region-filter .layui-form-item {
    margin-bottom: 0;
}

.region-filter .layui-form-label {
    width: auto;
    padding: 5px 8px;
    font-size: 12px;
}

.region-filter .layui-input-inline {
    width: 160px;
    margin-right: 16px;
}

.region-filter .layui-input-inline .layui-btn {
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
}

.region-filter .layui-input-inline .layui-btn .layui-icon {
    margin-left: 8px;
}

/* 项目卡片样式 */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.project-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px; /* 限制最大宽度 */
}

.project-short-name {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px; /* 限制最大宽度 */
}

.project-actions {
    display: flex;
    gap: 8px;
}

.project-info {
    margin-bottom: 16px;
}

.info-row {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
}

.info-label {
    width: 80px;
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0; /* 确保flex子元素可以收缩 */
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.project-status {
    padding: 4px 12px;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
}

.project-status.serving {
    background-color: #5FB878; /* 绿色 - 服务中 */
}

.project-status.withdrawn {
    background-color: #FF5722; /* 橙色 - 已撤场 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .region-buttons {
        flex-direction: column;
    }
    
    .region-btn {
        text-align: center;
    }
}
